CLOUDSTACK-10117 scoped setting have nullable values#2413
Conversation
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1663 |
|
Please review/lgtm -- @nvazquez @borisstoyanov and others |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
This PR has changes in db upgrade path, to avoid adding a new db upgrade path b/w 4.11.0->4.11.1, and 4.11.1 or 4.11.0->4.12.0 (-snapshot) I think we should consider this merge towards 4.11.0 milestone and to make it into RC2. /cc @wido @rafaelweingartner @nvazquez @mike-tutkowski and others - please review |
|
I did not understand why this change will avoid us having an upgrade path between 4.11 - 4.12. |
|
@rafaelweingartner this will add complexity that's all, ideally, we should n't (or at least try not to) have db changes in minor/dot releases. |
|
Ah, now I got it. |
|
Yes @rafaelweingartner that's it. |
|
It seems to be something simple. However, I have no clues why you are changing a field in the database from not null to null able. I checked the Jira ticket, and it is a generic one regarding a feature that you were/are developing. It is always good to provide these details either in the Jira ticket you create for the PR, or in the PR description itself. I also checked the commit, but it does not provide information regarding the necessity for this change and the impacts it may cause. |
|
@rafaelweingartner it is a generic quality of settings that they are null able. I booboo'd here by making them non null. The code is really just part of the general functionality. @rhtyd I will remove 4.11.1 milestone as it would have to be a alter table statement if it needs to go in there. |
rafaelweingartner
left a comment
There was a problem hiding this comment.
@DaanHoogland thanks for the explanations
|
Trillian test result (tid-2174)
|
|
Based on the code and the comments in this PR, LGTM. |
|
Tests LGTM, Merging this based on code reviews and test result. |
…e#2413) Allows scope setting for domain_details to have nullable values.
No description provided.